﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="fanli_order.aspx.cs" Inherits="Web.myadmin.fanli_order" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"> 
<head id="Head1" runat="server">
    <title>订单管理 - 后台管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/main.css" rel="stylesheet" type="text/css" />
<script src="js/function.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
<div id="right">
<!-- 头部开始 -->
<div class="right-title">返利网管理后台>订单管理</div>
<div class="con-title">
    <img src="image/icon01.gif" width="23" height="26" style="padding:2px 0 0 15px; float:left" />
    <span class="con-txt">订单管理</span>
</div>
<!-- 头部开始 -->

<!-- 查询开始 -->
<div class="toptab" id="divQuery" runat="server">
<div class="tabcontent">
             <div class="span">id：</div><div class="span"><asp:TextBox ID="txtQryId" runat="server"  CssClass="clsInput" ></asp:TextBox></div>
             <div class="span">用户id：</div><div class="span"><asp:TextBox ID="txtQryUserid" runat="server"  CssClass="clsInput" ></asp:TextBox></div>
             <%--<div class="span">商城id：</div><div class="span"><asp:TextBox ID="txtQryShopID" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">订单状态：</div><div class="span"><asp:TextBox ID="txtQryStatus" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">所属联盟：</div><div class="span"><asp:TextBox ID="txtQryLianmeng" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">返利佣金：</div><div class="span"><asp:TextBox ID="txtQryFanliMoney" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">返利状态：</div><div class="span"><asp:TextBox ID="txtQryFanliStatus" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">订单号：</div><div class="span"><asp:TextBox ID="txtQryTrade_id" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">确认时间：</div><div class="span"><asp:TextBox ID="txtQryPay_time" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">佣金比率：</div><div class="span"><asp:TextBox ID="txtQryCommission_rate" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">网站佣金：</div><div class="span"><asp:TextBox ID="txtQryCommission" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">推广渠道：</div><div class="span"><asp:TextBox ID="txtQryOuter_code" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">商品ID：</div><div class="span"><asp:TextBox ID="txtQryNum_iid" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">商品名称：</div><div class="span"><asp:TextBox ID="txtQryItem_title" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">商品数量：</div><div class="span"><asp:TextBox ID="txtQryItem_num" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">成交价格：</div><div class="span"><asp:TextBox ID="txtQryPay_price" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">实际支付金额：</div><div class="span"><asp:TextBox ID="txtQryReal_pay_fee" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">商品类目ID：</div><div class="span"><asp:TextBox ID="txtQryCategory_id" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">商品类目名称：</div><div class="span"><asp:TextBox ID="txtQryCategory_name" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">店铺名称：</div><div class="span"><asp:TextBox ID="txtQryShop_title" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">卖家昵称：</div><div class="span"><asp:TextBox ID="txtQrySeller_nick" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">扩展1：</div><div class="span"><asp:TextBox ID="txtQryExt1" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <%--<div class="span">扩展2：</div><div class="span"><asp:TextBox ID="txtQryExt2" runat="server"  CssClass="clsInput" ></asp:TextBox></div>--%>
             <div class="span"><asp:Button ID="btnQuery"  CssClass="btnQuery" runat="server" Text=" 查询 "  OnClick="btnQuery_Click" /></div>
</div>
</div>
<!-- 查询结束 -->

<!-- 列表内容开始 -->
<div class="tab"  id="divList" runat="server">
<!-- 错误提示开始 -->
<div id="DivPromptMessage" runat="server">
    <asp:Literal ID="litPromptMessage" runat="server"></asp:Literal>
</div>
<!-- 错误提示结束 --> 

<!-- 信息列表开始 -->
     <asp:Repeater runat="server" ID="rptInfoList">
        <HeaderTemplate>
           <table  cellpadding="0" cellspacing="0" class="atab">
             <tr> 
	              <th>编号 </th>
	              <th>用户id</th>
	              <th>商城id</th>
	              <th>订单状态</th>
	              <%--<th>所属联盟</th>--%>
	              <%--<th>返利佣金</th>--%>
	              <%--<th>返利状态</th>--%>
	              <%--<th>订单号</th>--%>
	              <%--<th>确认时间</th>--%>
	              <%--<th>佣金比率</th>--%>
	              <%--<th>网站佣金</th>--%>
	              <%--<th>推广渠道</th>--%>
	              <%--<th>商品ID</th>--%>
	              <%--<th>商品名称</th>--%>
	              <%--<th>商品数量</th>--%>
	              <%--<th>成交价格</th>--%>
	              <%--<th>实际支付金额</th>--%>
	              <%--<th>商品类目ID</th>--%>
	              <%--<th>商品类目名称</th>--%>
	              <%--<th>店铺名称</th>--%>
	              <%--<th>卖家昵称</th>--%>
	              <%--<th>扩展1</th>--%>
	              <%--<th>扩展2</th>--%>
	              <th>操作</th>
             </tr>
          </HeaderTemplate>
          <ItemTemplate>
               <tr onmouseover="this.bgColor='#8CBDE7'" onmouseout="this.bgColor='#ffffff'"> 
	              <td><%# Eval("id") %></td>
	              <td><%# Eval("userid")%></td>
	              <td><%# Eval("shopID")%></td>
	              <td><%# Eval("status")%></td>
	              <%--<td><%# Eval("lianmeng")%></td>--%>
	              <%--<td><%# Eval("fanliMoney")%></td>--%>
	              <%--<td><%# Eval("fanliStatus")%></td>--%>
	              <%--<td><%# Eval("trade_id")%></td>--%>
	              <%--<td><%# Eval("pay_time")%></td>--%>
	              <%--<td><%# Eval("commission_rate")%></td>--%>
	              <%--<td><%# Eval("commission")%></td>--%>
	              <%--<td><%# Eval("outer_code")%></td>--%>
	              <%--<td><%# Eval("num_iid")%></td>--%>
	              <%--<td><%# Eval("item_title")%></td>--%>
	              <%--<td><%# Eval("item_num")%></td>--%>
	              <%--<td><%# Eval("pay_price")%></td>--%>
	              <%--<td><%# Eval("real_pay_fee")%></td>--%>
	              <%--<td><%# Eval("category_id")%></td>--%>
	              <%--<td><%# Eval("category_name")%></td>--%>
	              <%--<td><%# Eval("shop_title")%></td>--%>
	              <%--<td><%# Eval("seller_nick")%></td>--%>
	              <%--<td><%# Eval("ext1")%></td>--%>
	              <%--<td><%# Eval("ext2")%></td>--%>
	              <td>	
	                  <a href="?cmd=view&id=<%# Eval("id") %>" class="linkView" onclick="return openWin(this.href);">查看</a>&nbsp;
	                   <a href="?cmd=edit&id=<%# Eval("id") %>" class="linkEdit" onclick="return openWin(this.href);">修改</a>&nbsp;
	                   <a href="?cmd=delete&id=<%# Eval("id") %>" onclick="return confirm('确定是要删除该记录吗？')" class="linkDelete">删除</a>
	              </td>
                </tr>
        </ItemTemplate>
        <FooterTemplate>
           </table>
        </FooterTemplate>
    </asp:Repeater>

<!-- 信息列表结束 -->

<!-- 分页开始 -->
<div class="content" id="divPager" runat="server">
    <div class="page"><asp:Literal ID="litPager" runat="server" ></asp:Literal></div>
</div>
<!-- 分页结束 -->
</div>
<!-- 列表内容结束 -->


<!-- 表单开始 -->
<div class="tab" runat="server" id="divForm">
  <table cellpadding="0" cellspacing="0" class="btab">
	<tr> 
		<td  colspan="2" class="thead">  <asp:Label ID="lblFormTitle" runat="server" Text="修改"></asp:Label></td>
	</tr>
	<tr> 
		<th>用户id：</th>
		<td>  
            <asp:TextBox ID="txtUserid" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>商城id：</th>
		<td>  
            <asp:TextBox ID="txtShopID" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>订单状态：</th>
		<td>  
            <asp:TextBox ID="txtStatus" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>所属联盟：</th>
		<td>  
            <asp:TextBox ID="txtLianmeng" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>返利佣金：</th>
		<td>  
            <asp:TextBox ID="txtFanliMoney" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>返利状态：</th>
		<td>  
            <asp:TextBox ID="txtFanliStatus" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>订单号：</th>
		<td>  
            <asp:TextBox ID="txtTrade_id" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>确认时间：</th>
		<td>  
            <asp:TextBox ID="txtPay_time" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>佣金比率：</th>
		<td>  
            <asp:TextBox ID="txtCommission_rate" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>网站佣金：</th>
		<td>  
            <asp:TextBox ID="txtCommission" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>推广渠道：</th>
		<td>  
            <asp:TextBox ID="txtOuter_code" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>商品ID：</th>
		<td>  
            <asp:TextBox ID="txtNum_iid" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>商品名称：</th>
		<td>  
            <asp:TextBox ID="txtItem_title" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>商品数量：</th>
		<td>  
            <asp:TextBox ID="txtItem_num" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>成交价格：</th>
		<td>  
            <asp:TextBox ID="txtPay_price" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>实际支付金额：</th>
		<td>  
            <asp:TextBox ID="txtReal_pay_fee" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>商品类目ID：</th>
		<td>  
            <asp:TextBox ID="txtCategory_id" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>商品类目名称：</th>
		<td>  
            <asp:TextBox ID="txtCategory_name" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>店铺名称：</th>
		<td>  
            <asp:TextBox ID="txtShop_title" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>卖家昵称：</th>
		<td>  
            <asp:TextBox ID="txtSeller_nick" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>扩展1：</th>
		<td>  
            <asp:TextBox ID="txtExt1" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<th>扩展2：</th>
		<td>  
            <asp:TextBox ID="txtExt2" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td colspan="2" align="center" style="font-size: 30px;">
         <asp:Button ID="btnSumit"  CssClass="btnSumit" runat="server" Text=" 发布 "  OnClick="btnSumit_Click" />
		<input class="btnCancel" type="reset" value=" 取消 " />
		<asp:TextBox ID="txtId" runat="server" style="display:none" Text="0"></asp:TextBox></td>
	</tr>
</table>
</div>
<!-- 表单结束 -->


<!-- 查看开始 -->
<div class="tab"  runat="server" id="divView">
  <table  cellpadding="0" cellspacing="0" class="btab">
	<tr> 
		<td colspan="2" class="thead">  <asp:Label ID="lblViewTitle" runat="server" Text="查看"></asp:Label></td>
	</tr>
	<tr> 
		<th>用户id：</th>
		<td>  
            <asp:Label ID="lblUserid" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>商城id：</th>
		<td>  
            <asp:Label ID="lblShopID" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>订单状态：</th>
		<td>  
            <asp:Label ID="lblStatus" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>所属联盟：</th>
		<td>  
            <asp:Label ID="lblLianmeng" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>返利佣金：</th>
		<td>  
            <asp:Label ID="lblFanliMoney" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>返利状态：</th>
		<td>  
            <asp:Label ID="lblFanliStatus" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>订单号：</th>
		<td>  
            <asp:Label ID="lblTrade_id" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>确认时间：</th>
		<td>  
            <asp:Label ID="lblPay_time" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>佣金比率：</th>
		<td>  
            <asp:Label ID="lblCommission_rate" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>网站佣金：</th>
		<td>  
            <asp:Label ID="lblCommission" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>推广渠道：</th>
		<td>  
            <asp:Label ID="lblOuter_code" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>商品ID：</th>
		<td>  
            <asp:Label ID="lblNum_iid" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>商品名称：</th>
		<td>  
            <asp:Label ID="lblItem_title" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>商品数量：</th>
		<td>  
            <asp:Label ID="lblItem_num" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>成交价格：</th>
		<td>  
            <asp:Label ID="lblPay_price" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>实际支付金额：</th>
		<td>  
            <asp:Label ID="lblReal_pay_fee" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>商品类目ID：</th>
		<td>  
            <asp:Label ID="lblCategory_id" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>商品类目名称：</th>
		<td>  
            <asp:Label ID="lblCategory_name" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>店铺名称：</th>
		<td>  
            <asp:Label ID="lblShop_title" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>卖家昵称：</th>
		<td>  
            <asp:Label ID="lblSeller_nick" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>扩展1：</th>
		<td>  
            <asp:Label ID="lblExt1" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<th>扩展2：</th>
		<td>  
            <asp:Label ID="lblExt2" runat="server" ></asp:Label></td>
	</tr>
</table>
</div>
<!-- 查看结束 -->


</div>
    </form>
</body>
</html>

